<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'disciplina--carga-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'ID_TEMPLATE'); ?>
		<?php echo $form->textField($model,'ID_TEMPLATE'); ?>
		<?php echo $form->error($model,'ID_TEMPLATE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ID_DISCIPLINA'); ?>
		<?php echo $form->textField($model,'ID_DISCIPLINA',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'ID_DISCIPLINA'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TX_TURMA'); ?>
		<?php echo $form->textField($model,'TX_TURMA',array('size'=>1,'maxlength'=>1)); ?>
		<?php echo $form->error($model,'TX_TURMA'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ID_AMBIENTE'); ?>
		<?php echo $form->textField($model,'ID_AMBIENTE'); ?>
		<?php echo $form->error($model,'ID_AMBIENTE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TX_DIAS'); ?>
		<?php echo $form->textField($model,'TX_DIAS',array('size'=>7,'maxlength'=>7)); ?>
		<?php echo $form->error($model,'TX_DIAS'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'HR_INI'); ?>
		<?php echo $form->textField($model,'HR_INI'); ?>
		<?php echo $form->error($model,'HR_INI'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'HR_FIM'); ?>
		<?php echo $form->textField($model,'HR_FIM'); ?>
		<?php echo $form->error($model,'HR_FIM'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->